package com.warehouse.service;

import com.warehouse.entity.StockIn;
import org.springframework.web.multipart.MultipartFile;
import java.time.LocalDateTime;
import java.util.List;

public interface StockInService {
    
    List<StockIn> getAllStockIns();
    
    StockIn getStockInById(Long id);
    
    List<StockIn> getStockInsByProductId(Long productId);
    
    List<StockIn> getStockInsByDateRange(LocalDateTime startTime, LocalDateTime endTime);
    
    List<StockIn> getStockInsBySupplier(String supplier);
    
    StockIn createStockIn(StockIn stockIn);
    
    boolean importFromExcel(MultipartFile file);
    
    boolean updateStockIn(StockIn stockIn);
    
    boolean deleteStockIn(Long id);
    
    long getTodayStockInCount();
} 